package com.kikidao.app.testclasses.person;

import com.container.app.annotations.DAOComponent;
import com.container.app.annotations.Inject;
import com.kikidao.app.dao.DAOUtils;
import com.kikidao.app.exceptions.DAOUncheckedException;

import java.sql.Connection;

/**
 * Created with IntelliJ IDEA.
 * User: Georgiana.Scarlat
 * Date: 7/20/12
 * Time: 5:09 PM
 */
@SuppressWarnings("UnusedDeclaration")
@DAOComponent
public class MockDAOUtils extends DAOUtils {


    private PersoanaDAO persoanaDAO;


    public Connection getConnection() throws DAOUncheckedException {

        return null;
    }


    public void endConnection() throws DAOUncheckedException {


    }


    @Inject
    public void setPersoanaDAO(PersoanaDAO persoanaDAO) {
        this.persoanaDAO = persoanaDAO;
    }


}
